* {
    padding: 0;
    margin: 0 auto;
}

a {
    text-decoration: none;
    cursor: pointer !important;
}

a:hover {
    text-decoration: none;
}


/* 顶部css */

.header {
    width: 100%;
    height: 100px;
    background-image: url(../images/index/banner.webp);
    background-size: 100% 100%;
}

.header_content {
    width: 80%;
    height: 100%;
}

.logo {
    width: 40%;
    height: 100%;
    padding-left: 40px;
}

.logo img {
    width: 220px;
    height: 110px;
    margin-left: 20px;
}

.login {
    height: 100%;
    /* background-color: lawngreen; */
    margin-top: 30px;
}


/* .login_nav {
    width: 90%;
} */

.login_nav li a {
    color: black;
}

.login_nav li a:hover {
    color: #ffc42a;
}

.nav-link {
    padding: 0 !important;
    margin-left: 10px;
}


/* 导航栏CSS */

.nav1 {
    /* margin-top: 10px; */
    height: 50px;
    width: 100%;
    background-color: black;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav_content {
    height: 50px;
    width: 75%;
}

li {
    list-style: none;
}

.nav_content ul {
    float: left;
    margin-right: 50px;
    font-size: 20px;
    color: white;
    line-height: 50px;
}

.nav_content ul a {
    color: white;
    text-decoration: none;
}

.nav_content ul a:hover {
    color: #ffc42a;
    text-decoration: none;
}


/* 内容 */

.content {
    margin: 0 auto;
    width: 100%;
}


/* 第一部分内容CSS */

.content1 {
    width: 75%;
}

.content .row {
    margin: 0 auto;
    margin-top: 0;
}

.content1_nav {
    height: 480px;
    margin: 0;
    padding: 0 0 !important;
    background-color: white;
    width: 70px;
}

.content1_nav ul {
    height: 60px;
    width: 100%;
    text-align: center;
    line-height: 60px;
    border: 1px solid grey;
    margin: 0;
}

.content1_nav ul a {
    color: black;
    text-decoration: none;
}

.content1_nav ul a:hover {
    color: #ffc42a;
}

.content1_img {
    height: 480px;
    padding-top: 20px;
    margin: 0 auto;
    overflow: hidden;


}
.content1_img_gd{
    float: left;
}
.content1_img_gd img {
    height: 100%;
    width: 99%;
    margin-left: 5px;
    /* animation: gd 10s linear infinite; */
    /* transition: all 0.5s linear; */
}

@keyframes gd {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-1440px);
    }
}

.content1_img_gd img:hover {
    transform: scale(1.05);
}

.content1_goods {
    height: 480px;
    padding-top: 20px;
}

.content1_goods img {
    width: 99%;
    height: 48%;
    transition: all 0.5s linear;
}

.content1_goods img:hover {
    transform: scale(1.1);
}

.content1_goods img:nth-child(2) {
    margin-top: 18px;
}


/* 手机专区 */

.content2 {
    margin-top: 10px;
    width: 75%;
    height: 600px;
}

.writing {
    height: 100px;
    width: 100%;
    font-size: 30px;
    line-height: 100px;
    color: black;
}

.writing::first-letter {
    text-decoration: underline;
    /* color: #ffc42a; */
}

.content2_box {
    margin-top: 10px;
    padding: 0;
}

.content2_box_img {
    padding: 0 !important;
    text-align: center;
    border: 1px solid grey;
    width: 30%;
    height: 450px;
}

.content2_box_img img {
    margin-top: 30px;
    width: 300px;
    height: 300px;
    transition: all 0.5s linear;
}

.content2_box_img a {
    text-decoration: none;
    color: black;
}

.content2_box_img img:hover {
    transform: scale(1.1);
}

.content2_box_img a:hover {
    text-decoration: none;
    color: #ffc42a;
}

.content2_box_img p:nth-child(3) {
    color: red;
    font-size: large;
}

.goods_name {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 0;
}

.goods_price {
    padding: 0;
    margin: 0;
}


/* 精品抢购 */

.content3 {
    margin-top: 50px;
    width: 75%;
    margin: 0 auto;
}

.content3_img img {
    transition: all 0.5s linear;
    margin-left: 20px;
}

.content3_img img:hover {
    transform: scale(1.01);
}

.content3_right {
    padding: 0;
}


/* 配件专区 */

.content4 {
    margin-top: 10px;
    width: 75%;
}

.content4_box {
    width: 100%;
}

.content4_box_img {
    padding: 0 !important;
    text-align: center;
    height: 350px;
}

.content4_box_img img {
    margin-top: 30px;
    /* width: 90px; */
    height: 65%;
    transition: all 0.5s linear;
}

.img_box {
    height: 350px;
    width: 90%;
    border: 1px solid;
    transition: all 0.5s linear;
}

.img_box img:hover {
    transform: scale(1.05);
}

.img_box a {
    text-decoration: none;
    color: black;
}

.img_box a:hover {
    text-decoration: none;
    color: #ffc42a;
}

.img_box p {
    margin: 0;
}

.goods_price span:nth-child(2) {
    text-decoration: line-through red;
}

.img_box p:nth-child(3) {
    color: red;
    font-size: large;
}


/* 页脚 */

.footer {
    width: 100%;
    margin: 50px auto;
    height: 300px;
    background-color: #f7f7f7;
}

.footer_content {
    width: 75%;
    height: 100%;
}

.footer_row {
    height: 100%;
}

.contact {
    height: 100%;
    padding-top: 5%;
}

.contact h2 {
    margin-bottom: 10px;
}

.links {
    padding-top: 5%;
    height: 100%;
}

.links h2 {
    margin-bottom: 10px;
}

.links p {
    margin-top: 3px;
    margin-bottom: 0;
    padding: 0;
}

.product {
    padding-top: 5%;
    height: 100%;
}

.product h2 {
    margin-bottom: 10px;
}

.product p {
    margin-top: 3px;
    margin-bottom: 0;
    padding: 0;
}

.feedback {
    padding-top: 5%;
    height: 100%;
    /* padding-left: 0 !important; */
}

.feedback h2 {
    margin-bottom: 10px;
}

.commit {
    margin-left: 5px !important;
}

.commit textarea {
    background-color: transparent;
    border: 1px solid;
    padding-top: 2px;
    padding-left: 0;
}

button {
    height: 100px;
    width: 80%;
    background-color: #ffc32b;
}